package com.littcore.chart.echart.model.series;

import com.littcore.chart.echart.model.EChartsConstants.SeriesType;


/**
 * .
 * 
 * <pre><b>描述：</b>
 *    
 * </pre>
 * 
 * <pre><b>修改记录：</b>
 *    
 * </pre>
 * 
 * @author <a href="mailto:littcai@hotmail.com">蔡源</a>
 * @since 2015年6月25日
 * @version 1.0
 */
public class Line extends Series<Line> {
  /**
   * 平滑曲线
   */
  private Boolean smooth;

  /**
   * 构造函数
   */
  public Line() {
      this.type(SeriesType.line);
  }

  /**
   * 构造函数,参数:name
   *
   * @param name
   */
  public Line(String name) {
      super(name);
      this.type(SeriesType.line);
  }

  /**
   * 获取smooth值
   */
  public Boolean smooth() {
      return this.smooth;
  }

  /**
   * 设置smooth值
   *
   * @param smooth
   */
  public Line smooth(Boolean smooth) {
      this.smooth = smooth;
      return this;
  }

  /**
   * 获取smooth值
   */
  public Boolean getSmooth() {
      return smooth;
  }

  /**
   * 设置smooth值
   *
   * @param smooth
   */
  public void setSmooth(Boolean smooth) {
      this.smooth = smooth;
  }

}
